<html>
<body>
Reports calls to <code>Objects.equals(a, b)</code> in which the first argument is statically known to be non-null.
<p>Such a call can be safely replaced with <code>a.equals(b)</code> or <code>a == b</code> if both arguments are primitives.</p>
<p>Example:</p>
<pre><code>
  String defaultName = "default";
  boolean isDefault = Objects.equals(defaultName, name);
</code></pre>
<p>After the quick-fix is applied:</p>
<pre><code>
  String defaultName = "default";
  boolean isDefault = defaultName.equals(name);
</code></pre>
<!-- tooltip end -->
<p><small>New in 2018.3</small></p>
</body>
</html>